<div id="root">

<gc-nav-bar @click-left="clickLeftFn" @click-right="clickRightFn" title="用户创建"></gc-nav-bar>

<h1>表单组件</h1>
<gc-table @submit="submitFn"></gc-table>

</div>

<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<link rel="stylesheet" href="./gcui.css">
<script src="./gcui.js"></script>
<script>

const vm = new Vue({
    el: "#root",
    data: {
    },
    methods:{
        submitFn(formData){
            console.log('表单数据',formData)
            alert('用户创建成功小哥哥真棒')
        }
    }
})
</script>